import { useState } from "react";
import { useSearchParams } from "react-router";
export default function Edit() {

  const [params]=  useSearchParams();
  console.log(params.get("id"));
  const [id]=useState(params.get("id"));

  return (
    <div>
      <h1>
       {id}
         修改机构
      </h1>
    </div>
  );
}